@import '../../assets/less/common.less';

.input-field-container {
  border: 1px solid transparent;
  border-top-width: 2px;
  border-bottom-width: 2px;
  margin-left: -1px;
  margin-right: -1px;
  padding-bottom: 20px;
  .body-div {
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 20px;
    .field-preview {
      width: 50%;
      height: 34px;
      border: 1px solid #4B4B4B;
    }
  }
  .footer-div {
    margin-top: 10px;
    height: 40px;
    padding: 8px 20px;
    background-color: #f0f0f0;
    color: #333;
    user-select: none;
    line-height: 24px;
    display: none;
  }
  &:hover {
    background-color: rgba(245,102,48,.05);
    border-top: 2px dashed @mainColor;
    border-bottom: 2px dashed @mainColor;
  }
  &.selected {
    padding-bottom: 0;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid @mainColor;
    border-top-width: 2px;
    box-shadow: 0 10px 20px 0 rgba(0,0,0,.2), inset 0 3px 0 0 @mainColor;
    .footer-div {
      display: block;
    }
  }
}